import request from '@/utils/request'

// 查询办学性质列表
export function listVfNature(query) {
  return request({
    url: '/system/vfNature/list',
    method: 'get',
    params: query
  })
}

// 查询办学性质详细
export function getVfNature(natureId) {
  return request({
    url: '/system/vfNature/' + natureId,
    method: 'get'
  })
}

// 新增办学性质
export function addVfNature(data) {
  return request({
    url: '/system/vfNature',
    method: 'post',
    data: data
  })
}

// 修改办学性质
export function updateVfNature(data) {
  return request({
    url: '/system/vfNature',
    method: 'put',
    data: data
  })
}

// 删除办学性质
export function delVfNature(natureId) {
  return request({
    url: '/system/vfNature/' + natureId,
    method: 'delete'
  })
}
